Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep current Sequence No. for batch operations until SaveState is called and align GetNextNo events in new facade with GetNextNo events in NoSeriesManagement #572

Merged
merged 5 commits into from
Feb 13, 2024

Conversation

AndreasMoth
Copy link
Contributor

@AndreasMoth AndreasMoth commented Feb 13, 2024

Currently NoSeriesManagement does not increment the sequence numbers if it's set to not modify the record, but it will still get new numbers. Hence aligning here with batching, if it's a temporary record we should also not update the database.

Furthermore I'm also aligning the events from NoSeriesManagement.GetNextNo to the new facade GetNextNo.
Fixes AB#471519

…gn GetNextNo events in new facade with GetNextNo events in NoSeriesManagement
@github-actions github-actions bot added this to the Version 24.0 milestone Feb 13, 2024
@AndreasMoth AndreasMoth changed the title Do not update No. Sequence if we are in batch mode until save and align GetNextNo events in new facade with GetNextNo events in NoSeriesManagement Keep current Sequence No. for batch operations until SaveState is called and align GetNextNo events in new facade with GetNextNo events in NoSeriesManagement Feb 13, 2024
@AndreasMoth AndreasMoth marked this pull request as ready for review February 13, 2024 08:46
@AndreasMoth AndreasMoth requested a review from a team as a code owner February 13, 2024 08:46
grobyns
grobyns previously approved these changes Feb 13, 2024
@AndreasMoth AndreasMoth merged commit 4ddf8a3 into main Feb 13, 2024
19 checks passed
@AndreasMoth AndreasMoth deleted the private/anmoth/PreventBatchingFromUpdatingSequences branch February 13, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants